package com.lsp.microarticle.article.openfeign;

import com.lsp.microcommon.common.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

// 指定要调用的url接口所在应用名称
@FeignClient(value = "micro-user",
        configuration = FeignRequestInterceptor.class,
        fallbackFactory = ArticleFeignServiceFallback.class)
public interface ArticleFeignService {
    @PostMapping("/app/point/article/add")
    CommonResult remoteArticleAddPoint();
}
